package cn.krui.project.bean.article;

import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
/**
 * @author: zc
 * email: zc8023zs@163.com
 * create_time: 2020/6/11 16:41:51
 */
@ApiModel(value = "qr_article_class_seo", description = "栏目seo")
@TableName(value = "qr_article_class_seo")
public class ArticleClassSeo {
	@ApiModelProperty(value = "栏目id")
	@TableId(type = IdType.INPUT,value = "class_id")
	@NotNull(message = "栏目id不能为空")
	private Integer class_id;
	@ApiModelProperty(value = "seo标题")
	@TableField(value="seo_title")
	private String seo_title;
	@ApiModelProperty(value = "seo关键字")
	@TableField(value="seo_key")
	private String seo_key;
	@ApiModelProperty(value = "seo描述")
	@TableField(value="seo_label")
	private String seo_label;
	@ApiModelProperty(value = "数据版本字段")
	@TableField(value="version_id")
	@Version
	private Integer version_id;

 
	public Integer getClass_id() {
		return class_id;
	}
	public void setClass_id(Integer class_id) {
		this.class_id = class_id;
	}
 
	public String getSeo_title() {
		return seo_title;
	}
	public void setSeo_title(String seo_title) {
		this.seo_title = seo_title;
	}
 
	public String getSeo_key() {
		return seo_key;
	}
	public void setSeo_key(String seo_key) {
		this.seo_key = seo_key;
	}
 
	public String getSeo_label() {
		return seo_label;
	}
	public void setSeo_label(String seo_label) {
		this.seo_label = seo_label;
	}
 
	public Integer getVersion_id() {
		return version_id;
	}
	public void setVersion_id(Integer version_id) {
		this.version_id = version_id;
	}

}